var gm = require('gm');
var file = './2.jpg';
gm(file).resize(200,200).write("./23.jpg",function(err){
	console.log(err);
});